package com.addplus.townmall.server.queue_consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.addplus.townmall.server"})
public class TownMallQueueConsumerApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(TownMallQueueConsumerApplication.class)
                .web(WebApplicationType.NONE)
                .run(args);
    }
}
